package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Auther Bennie
 * @Date 2020/6/12 18:35
 * @Description
 */
@TableName(value = "t_renewal_record")
@Data
@Accessors(chain = true)
public class RenewalRecord {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private String id;

    @JSONField(name = "RenewalType")
    @TableField(value = "RenewalType")
    private String renewalType;

    @JSONField(name = "Result")
    @TableField(value = "Result")
    private String result;

    @JSONField(name = "Description")
    @TableField(value = "Description")
    private String description;

    @JSONField(name = "MallId")
    @TableField(value = "MallId")
    private String mallId;

    @JSONField(name = "Datetime")
    @TableField(value = "Datetime")
    private LocalDateTime datetime;


    @JSONField(name = "ContractStartDate")
    @TableField(value = "ContractStartDate")
    private LocalDate contractStartDate;

    @JSONField(name = "ContractEndDate")
    @TableField(value = "ContractEndDate")
    private LocalDate contractEndDate;

}
